package ui.filter;

import java.io.File;
import java.io.FileFilter;

public class ExcelFileFilter implements FileFilter {

	private ExcelFileFilter() {
	}

	public boolean accept(File arg0) {
		return arg0.getName().toLowerCase().matches("^.+?\\.xlsx?$");
	}

	public static final ExcelFileFilter INSTANCE = new ExcelFileFilter();

}
